
/**
 * Class CSC-421
 * Instructor: Wilfredo Marrero
 * @author Hyrum Taft, Don Evett
 * @version 2
 * A solution to homework problem 1.
 * Input: The ArrayList data will contain 1 or more Strings
 * Output: An ArrayList containing all the strings in data but in reverse order 
 */

import java.util.ArrayList;
import java.util.Collections;


public class Solution {

	/**
	 * @param data will contain 1 or more Strings
	 * @return data string(s) in reverse order
	 */
    public static ArrayList<String> solve(ArrayList<String> data) {
        Collections.reverse(data);
    	return data;
    }
}
